home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / opsys / wmakeup / downloads / Crystal_WMP.wmz / Crystal WMP.wms < prev    next >
Text File  |  2004-02-13  |  6KB  |  239 lines

  1. <theme
  2.     id="Crystal"
  3.     title="Crystal WMP"
  4.     author="JJ.Ying"
  5.     copyright="www.everaldo.com"
  6.     >
  7.     <view
  8.     title="Crystal WMP"
  9.         backgroundImage="background.bmp"
  10.         backgroundColor="none"
  11.         transparencyColor="#00FF00"
  12.         titleBar="false" resizable="false"
  13.         scriptFile="Crystal.js;res://wmploc.dll/RT_TEXT/#132;"
  14.         onLoad="OnOpenStateChange();"
  15.         >
  16.         <player OpenState_onchange="OnOpenStateChange();">
  17.         </player>
  18.  
  19.     <text justification="left"
  20.             left="37" top="34" width="150"
  21.             foregroundColor="#000000" fontSize="9"
  22.             value="wmpprop:player.currentmedia.name"
  23.             >
  24.         </text>
  25.  
  26.     <text justification="left"
  27.             left="11" top="342"
  28.         visible="true"
  29.         scrolling="false" fontSmoothing="true"
  30.             foregroundColor="#000000" fontSize="9"
  31.             value="wmpprop:visualization.currentPresetTitle"
  32.             >
  33.         </text>
  34.         
  35.  
  36.     <statustext
  37.             left="183" top="34" width="50"
  38.             foregroundColor="#555555" fontSize="9"
  39.             visible="false"
  40.             />
  41.  
  42.  
  43.         <text left="236" top="35"
  44.             fontSize="9"
  45.             foregroundColor="#000000"
  46.             fontSmoothing="true"
  47.             value="wmpprop:player.controls.currentPositionString"
  48.             >
  49.         </text>
  50.  
  51.     <DURATIONTEXT left="273" top="35"
  52.         foregroundColor="#000000"
  53.         fontSmoothing="true"
  54.         fontSize="9"/>
  55.         
  56.         <text left="260" top="36"
  57.             fontSize="8"
  58.             fontSmoothing="true"
  59.         value=" / "
  60.             foregroundColor="#000000"
  61.             >
  62.         </text>
  63.  
  64.  
  65. <video id="Vid"
  66.     width="350" height="283"
  67.     left="11" top="56"
  68.     shrinkToFit = "true"
  69.     maintainAspectRatio = "true"
  70.     />
  71.  
  72. <effects
  73.     id="visualization"
  74.     width="350" height="283"
  75.     left="11" top="56"
  76.     currentEffectType="null" >
  77. </effects>
  78.  
  79. <subview id="PLPanel"
  80.     backgroundimage="plback.bmp"
  81.     zIndex = "-1"
  82.     width="350" height="300"
  83.     left="11" top="56"
  84.     visible="false">
  85.     <playlist
  86.         id="pl"
  87.         width="350" height="283"
  88.         backgroundcolor="#00dgff"      
  89.         foregroundcolor="#1D6DD0"
  90.         itemPlayingBackgroundColor="silver"
  91.         itemPlayingColor="black"
  92.         columnsVisible="true"
  93.         columns="name=Name;artist=Artist;album=Album;duration=Time;"
  94.         editbuttonsvisible="false"
  95.                 movebuttonsvisible="false"
  96.         dropDownVisible="true"
  97.             dropDownList="showAll"
  98.                 playlistItemsVisible="true">
  99.       </playlist> 
  100. </subview>
  101.  
  102. <BUTTONGROUP
  103.         backgroundimage="background.bmp"
  104.                 mappingImage = "map.bmp"
  105.                 hoverImage = "hover.bmp"
  106.         downimage="down.bmp"
  107.         >  
  108.                     
  109.         <BUTTONELEMENT id="bMin" mappingColor="#000000"
  110.             upToolTip="Minimize"
  111.             onClick="view.minimize();"
  112.             enabled="true"/>
  113.  
  114.         <BUTTONELEMENT id="bClose" mappingColor="#0000FF"
  115.             upToolTip="Close"
  116.             onClick="view.close();"
  117.             enabled="true"/>
  118.  
  119.         <BUTTONELEMENT
  120.             upToolTip = "Return to Media Center"
  121.             mappingColor = "#FF9001"
  122.             onClick = "view.returnToMediaCenter();"/>
  123.  
  124.         <buttonelement  mappingColor="#C000c0"
  125.             sticky="true" upToolTip="Mute"
  126.             down="wmpprop:player.settings.mute"
  127.             onclick="player.settings.mute=down;"/>
  128.  
  129.                 <PLAYELEMENT mappingColor="#00FF00"/>
  130.                 <STOPELEMENT mappingColor="#FF0000"/>
  131.         <NEXTELEMENT mappingColor="#FF00FF"/>
  132.         <PREVELEMENT mappingColor="#00FFFF"/>
  133.  
  134.         <buttonelement
  135.             mappingcolor="#C0C000"
  136.             onClick="jscript:visualization.next();" />
  137.  
  138.         <buttonelement
  139.             mappingcolor="#008000"
  140.             onClick="jscript:visualization.previous();" />
  141.  
  142. <buttonelement
  143. mappingcolor="#FF0099"
  144. uptoolttp="Resize"
  145. onClick="" />
  146.  
  147. <buttonelement
  148. mappingcolor="#FFCC00"
  149. uptoolttp="Options"
  150. onClick="" />
  151.  
  152.         <buttonelement
  153.             mappingcolor="#FFFFFF"
  154.             cursor="hand"
  155.             uptooltip="Repeat"
  156.             downtooltip="No Repeat"
  157.             onclick="jscript:player.settings.setMode('repeat',down);"
  158.             down="wmpprop:player.settings.getMode('repeat')"
  159.             sticky="true" />
  160.  
  161.         <buttonelement
  162.             mappingcolor="silver"
  163.             cursor="hand"
  164.             uptooltip="Shuffle"
  165.             downtooltip="Unshuffle"
  166.             onclick="jscript:player.settings.setMode('shuffle',down);"
  167.             down="wmpprop:player.settings.getMode('shuffle')"
  168.             sticky="true" />
  169. </BUTTONGROUP>
  170.  
  171.     <PAUSEBUTTON zIndex = "2"
  172.         visible = "wmpenabled:player.controls.pause"
  173.         upToolTip = "Pause"
  174.         image="pause.bmp"
  175.         hoverimage="pausehov.bmp"
  176.         downimage="pausedown.bmp"
  177.         top="369" left="9" />
  178.  
  179.     <BUTTON
  180.         id="ShowPL"
  181.         zIndex = "5"
  182.         left = "309"
  183.         top = "30"
  184.         TransparencyColor = "#FF00FF"
  185.         image = "plclose.bmp"
  186.         hoverImage = "plopenhov.bmp"
  187.         downImage = "plopendown.bmp"
  188.         upToolTip=" Show Playlist"
  189.         onclick="JScript:OpenPL();"
  190.         visible="true"/>
  191.  
  192.     <BUTTON
  193.         id="HidePL"
  194.         zIndex = "5"
  195.         left = "309"
  196.         top = "30"
  197.         TransparencyColor = "#FF00FF"
  198.         image = "plclose.bmp"
  199.         hoverImage = "plclosehov.bmp"
  200.         downImage = "plclosedown.bmp"
  201.         upToolTip="Hide Playlist"
  202.         onclick = "JScript:ClosePL();"
  203.         visible="false" />
  204.  
  205. <subview id="volume"
  206.     transparencyColor="#00FF00"
  207.     left="271" top="366"
  208.     backgroundimage="volslider.bmp">
  209.  
  210.         <slider  toolTip="Volume"
  211.             direction="horizontal" slide="false"
  212.             min="0" max="100"  borderSize="7"
  213.         foregroundimage="volslider2.bmp"
  214.             thumbImage="volthumb.bmp"
  215.         thumbhoverimage="volthumbhov.bmp"
  216.         thumbdownimage="volthumbdown.bmp"
  217.             transparencyColor="#00FF00"
  218.             value="wmpprop:player.settings.volume"
  219.             value_onchange="player.settings.volume=value;"
  220.             >
  221.         </slider>
  222. </subview>
  223.     <slider
  224.     left="133"  top="371"
  225.     id = "posslider"
  226.     backgroundimage="slider.bmp"
  227.     width="100"  height="17"
  228.     min = "0"
  229.     max = "wmpprop:player.currentMedia.duration"
  230.     thumbImage="thumb.bmp"
  231.     thumbhoverimage="thumbhov.bmp"
  232.     thumbdownimage="thumbdown.bmp"
  233.     transeparencycolor="#00FF00"
  234.     borderSize="7"
  235.     value="wmpprop:player.controls.currentPosition"
  236.     onDragEnd="player.controls.currentPosition=value;"
  237.     />
  238. </view>
  239. </theme>